package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TSetmealMapper;
import com.hu.zhcc.shiro.entity.lgx.TSetmeal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TSetmealServiceImpl implements TSetmealService {
    @Autowired
    TSetmealMapper tSetmealMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tSetmealMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TSetmeal record) {
        return tSetmealMapper.insert(record);
    }

    @Override
    public int insertSelective(TSetmeal record) {
        return tSetmealMapper.insertSelective(record);
    }

    @Override
    public TSetmeal selectByPrimaryKey(Integer id) {
        return tSetmealMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TSetmeal record) {
        return tSetmealMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TSetmeal record) {
        return tSetmealMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TSetmeal> tsetmealList() {
        return tSetmealMapper.tsetmealList();
    }

    @Override
    public List<TSetmeal> tsetmealLists() {
        return tSetmealMapper.tsetmealLists();
    }
}
